package art.client.services;

import java.util.List;

import art.shared.entities.LoginInfo;
import art.shared.entities.UserShared;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserServiceAsync {

	public void updateUser(UserShared user, AsyncCallback<Boolean> callback);

	void login(String email, AsyncCallback<LoginInfo> callback);

	void logout(AsyncCallback<Boolean> callback);

	void getUsers(AsyncCallback<List<UserShared>> callback);

	void getLoginInfo(AsyncCallback<LoginInfo> callback);

	void deleteUser(UserShared user, AsyncCallback<Boolean> callback);

}
